package com.qdu.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ellery2018
 * @since 2022-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Complete对象", description="")
public class Complete implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "打卡记录路线 ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户 ID")
    @TableField("userId")
    private Integer userId;

    @ApiModelProperty(value = "路线 ID")
    @TableField("routeId")
    private Integer routeId;


    @ApiModelProperty(value = "线下未完成：0(默认)，线下进行中：1，线下已完成：2，线上已完成：3")
    private String state;

    @ApiModelProperty(value = "起点打卡状态码(未打卡：0(默认)，已打卡：1)")
    @TableField("beginState")
    private Boolean beginState;

    @ApiModelProperty(value = "终点打卡状态码(未打卡：0(默认)，已打卡：1)")
    @TableField("endState")
    private Boolean endState;

    @ApiModelProperty(value = "起点打卡时间")
    @TableField("beginDate")
    private Date beginDate;

    @ApiModelProperty(value = "终点打卡时间")
    @TableField("endDate")
    private Date endDate;

    @ApiModelProperty(value = "拍照打卡状态码(未拍照：0(默认)，审核中：1，审核通过：2，审核失败：3)")
    @TableField("photoState")
    private String photoState;


}
